<template>
  <div id="app">
    <m-header></m-header>
    <navigator></navigator>
    <keep-alive>
      <router-view></router-view>
    </keep-alive>
  </div>
</template>

<script type="text/ecmascript-6">
import MHeader from 'components/m-header/m-header'
import Navigator from 'components/navigator/Navigator'
export default {
  components: {
    MHeader,
    Navigator
  }
}
// 把展示页面的内容全部放到缓存中，这样解决了每跳到某个页面刷新一次的问题
// <keep-alive>
</script>

<style scoped lang="stylus" rel="stylesheet/stylus"></style>
